import { Rule } from "./types";

export const Flake8TypeCheckingRuleList: Rule[] = [
    {
        code: "TCH001",
        name: "typing-only-first-party-import",
        descEn: "Move application import {} into a type-checking block",
        descCn: "",
        autoFix: false,
    },
    {
        code: "TCH002",
        name: "typing-only-third-party-import",
        descEn: "Move third-party import {} into a type-checking block",
        descCn: "",
        autoFix: false,
    },
    {
        code: "TCH003",
        name: "typing-only-standard-library-import",
        descEn: "Move standard library import {} into a type-checking block",
        descCn: "",
        autoFix: false,
    },
    {
        code: "TCH004",
        name: "runtime-import-in-type-checking-block",
        descEn: "Move import {} out of type-checking block. Import is used for more than type hinting.	",
        descCn: "",
        autoFix: false,
    },
    {
        code: "TCH005",
        name: "empty-type-checking-block",
        descEn: "Found empty type-checking block",
        descCn: "",
        autoFix: true,
    },
];